package com.example.canal.common.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2021/8/9 09:10
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface DbChangeEvent {

    /**
     * tableName
     *
     * @return
     */
    String tableName() default "";

    /**
     * 描述
     *
     * @return
     */
    String desc() default "";
}
